import request from '@/utils/request'

// 获取用户配置
export function getUserConfig(data) {
    return request({
        url: '/adminapi/user/getUserConfig',
        method: 'post',
        data
    })
}
// 保存用户配置
export function saveUserConfig(data) {
    return request({
        url: '/adminapi/user/saveUserConfig',
        method: 'post',
        data
    })
}
// 获取客服配置
export function customerinfo(data) {
    return request({
        url: '/adminapi/system/v2/customer/info',
        method: 'post',
        data
    })
}
// 保存客服配置
export function customersave(data) {
    return request({
        url: '/adminapi/system/v2/customer/save',
        method: 'post',
        data
    })
}
